import paddlehub as hub
import cv2
from PIL import Image
import matplotlib.pyplot as plt

classifier = hub.Module(name='resnet50_vd_dishes')
result =classifier.classification(images=[cv2.imread('imgs/test1.jpg')])
print('result:{}'.format(result))